package com.example.basic.web.response;

import com.example.basic.utils.CommonConstant;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class TaskRemainsResponse {

    @ApiModelProperty(value = "遗体编码")
    private String remainsCode;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String sexCode;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "年龄")
    private String age;

    @ApiModelProperty(value = "出生日期")
    private String birthday;

    @ApiModelProperty(value = "身份证号")
    private String idNo;

    @ApiModelProperty(value = "火化方式")
    private String cremationType;

    @ApiModelProperty(value = "火化方式")
    private String cremationTypeName;

    @ApiModelProperty(value = "火化时间")
    @JsonFormat(pattern = CommonConstant.TIME_FORMAT_TEN)
    private Date cremationTime;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "状态名称")
    private String statusName;

    @ApiModelProperty(value = "单据号")
    private String documentNo;
}
